<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="zh-CN" lang="zh-CN">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="Content-Language" content="zh-cn" />
<meta name="robots" content="all" />
<meta name="author" content="Neaton" />
<meta name="Copyright" content="mr-fang.com" />
<meta name="Description" content="/>
<meta name="Keywords" content=""/>
<title>设置封面 - mr-fang.com</title>
{literal}
<style>
body,div,form,img,p,ul,ol,li,dl,dt,dd,embed,h1,h2,h3,h4,h5,h6,td,tr,span,fieldset,label,legend{margin:0; padding:0; border:0;}
body{color:#595959;font-family:Verdana,Tahoma,Helvetica,Arial,"宋体";font-size:12px;line-height:22px;backgroundx:url('/misc/images/bg.jpg');}
body, div, span, pre, textarea, input {font: 14px/1.231 Verdana,"宋体",sans-serif;}
a{text-decoration:none;color:#000000}
#main{width:100%;padding:0;text-align:center}
#nav{margin-top:65px}
#nav .current{color:#993300}
a:hover{color:#993300}
#content{margin-top:25px;width:917px;text-align:left}
#logo{margin-top:15px;}
#footer{margin-top:10px;color:#000000}
#hr{height:1px;line-height:1px;width:600px;background-color:gray;}
.messageBox{text-align:left;width:50%;}
.messageBox td{border-bottom:1px solid gray;}
.logininput{width:130px;background:transparent;border:0;border-bottom:1px solid black;height:20px;font-size:16px;font-weight:bold}
.loading{text-align:center;padding-top:123px; padding-bottom:263px;background-color:#FFFFFF}
#upload_box{background-color:#FFFFFF;position:absolute;width:500px;}
.flashFail{padding:100px 0 266px 135px;}
.flashFail .finner{display:inline-block;padding-left:18px;background:url('/misc/images/idx_map_flashfail.png') no-repeat 0 4px;}
.flashFail, .flashFail *{font-size:14px;}
.borderOn{border:1px solid #BFBFBF}
.time{margin: 20px auto;}
.time input{margin-left:15px}
.mainColor{color:#FF0099}
p input{padding:5px}
p.title input{margin-right:30px;width:400px;}
p .inputTitle{padding: 15px;}
.button {
    cursor: pointer;
    height: 40px;
    line-height: 32px;
    width: 195px;
}
.weight {font-weight:700}
.control {
    margin-top: 20px;
    margin-left: 200px;
    padding: 20px;
    position: absolute;
    text-align: center;
    width: 100px;
    z-index: 4;
}
a.u:link, a.u:visited, a.u:hover, a.u:active {
    text-decoration: underline;
}
a.gmC:link, a.gmC:visited {
    color: #666666;
}
.fontStyle {
    height: 400px;
    line-height: 1.5em;
    margin-top: 10px;
    padding: 10px;
    width: 580px;
}
.lesserColor {
    color: #666666;
}
.tab {
    margin-top:60px;
}
.tab a.borderOn:link, .tab a.borderOn:visited, .tab a.borderOn:hover, .tab a.borderOn:active{
    border-bottom-width: 0;
    display: block;
    line-height: 17px;
    margin: -59px 0 0 -21px;
    padding: 10px 50px;
    position: absolute;
    color: #FF0099;
}
.addButton {
    margin-top: 30px;
    width:200px;
    float:right;
}
.picBox {
    margin: 10px 40px 10px 0;
}
.clearfix {
}
.picBox div.r {
    padding-right: 276px;
    width: 464px;
}
.r {
    float: right;
}
.picBox .simple {
    padding-top: 10px;
}
.picBox .simple{
    height: auto !important;
    min-height: 150px;
    padding: 0;
}
.picBox .simple img {
    margin-top: 20px;
    padding: 5px;
    width: 100px;
    height
}
</style>
{/literal}
</head>
<body>

<div id="main">
    <div id="nav">
        <a href="/admin/intro">【 简 介 】</a>
        <a href="/admin/messageListUnpass">【 留言管理 】</a>
        <a href="/admin/articleList" class="current">【 文章管理 】</a>
        <a href="/admin/cateList">【 分类管理 】</a>
    </div>

    <center>
    <div id="content">
    <form action='/admin/articleSetCover?aid={$aid}' method='post'>
    <div class="borderOn" style="padding:20px;">
        {foreach from=$photos item=p}
        <div style="float:left;width:160px;padding:5px;margin-left:10px" class="borderOn">
        <img src="http://mr-fang.com/photos/{$p.p_thumb_src}">
        <br>
        <input type="radio" value="{$p.pid}" name="pid" {if $coverid eq $p.pid}checked="true"{/if}>
        <input name="src_{$p.pid}" value="{$p.p_thumb_src}" type="hidden">
        </div>
        {/foreach}

        <div style="clear:both"></div>
        <div style="margin:10px 0 10px 0;">
        <input type="submit" id="nextStep" value="设置封面" class="button weight mainColor">
        <input type="button" onclick="location.href='/admin/articleList'" value="返回列表" class="button weight mainColor"></div>
        <div style="clear:both"></div>
    </div>

    </form>
    </center>

</div>

</body>
</html>
